﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using Data;

namespace Business
{
   public class ChiTietBaoCaoCongNoServicecs
    {
       public static List<ChiTietBaoCaoCongNoDTO> GetChiTietBaoCaoCongNoByMaBaoCaoCongNo(int mabaocaocongno)
       {
           return ChiTietBaoCaoCongNoRepository.GetChiTietBaoCaoCongNoByMaBaoCaoCongNo(mabaocaocongno);

       }
       public void Insert(ChiTietBaoCaoCongNoDTO chitietbaocaocongnoDTO)
       {
           ChiTietBaoCaoCongNoRepository chitietbaocaocongnoRepository = new ChiTietBaoCaoCongNoRepository();
           chitietbaocaocongnoRepository.Insert(chitietbaocaocongnoDTO);

       }
       public void Update(ChiTietBaoCaoCongNoDTO chitietbaocaocongnoDTO)
       {
           ChiTietBaoCaoCongNoRepository chitietbaocaocongnoRepository = new ChiTietBaoCaoCongNoRepository();
           chitietbaocaocongnoRepository.Update(chitietbaocaocongnoDTO);

       }
    }
}
